package org.jeecg.modules.cosmetic.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.jeecg.modules.cosmetic.entity.TProductMaterial;
import org.jeecg.modules.cosmetic.mapper.TProductMaterialMapper;
import org.jeecg.modules.cosmetic.service.ITProductMaterialService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * @Description: 产品关联资料
 * @Author: jeecg-boot
 * @Date:   2022-06-30
 * @Version: V1.0
 */
@DS("cosmetic-datasource")
@Service
public class TProductMaterialServiceImpl extends ServiceImpl<TProductMaterialMapper, TProductMaterial> implements ITProductMaterialService {

    @Override
    public List<TProductMaterial> getProductMaterialList(Map<String, Object> params) {
        return baseMapper.selectLinkedMaterialList(params);
    }
}
